"""
字符串练习
"""
from itertools import count

my_str = "it heima it cast bo xue gu"
my_count = my_str.count("it")
print(my_count)
new_my_str =  my_str.replace(" ", "|")
print(new_my_str)
new_list  = new_my_str.split("|")
print(new_list)
